<?php /*
  template name: contatti
 */
get_header()
?>
<div id="container_principale">
  <div id="news">
    <div id="dovesiamo">
      <h1>dove siamo</h1>
      <div id="map"></div>
      <p>Via Roma, 4  - 67051 Avezzano (AQ)<br />
        Tel/Fax 0863 . 453685 | Mbl 333 . 12345678</p>
      <a href="mailto:info@pontedicarta.it" title="Contatta Ponte di Carta via e-mail"><img src="<?= TH_TEMPLATE_URL ?>img/mail_icon.png" width="28" height="20" alt="e-mail" title="contatta via e-mail Ponte di Carta" />e-mail</a> <a href="http://facebook.com/pontedicarta" title="Visita il profilo pubblico di Ponte di Carta e conversa con noi" target="_blank"><img src="<?= TH_TEMPLATE_URL ?>img/fb_big.png" width="28" height="28" alt="profilo facebook" title="visita il profilo pubblico di Ponte di Carta" />Facebook</a> </div>
    <div id="form">
      <h1>Contatti e Recapiti</h1>
      <? echo do_shortcode('[contact-form-7 id="149" title="Modulo di contatto 1"]'); ?>
    </div>
  </div>
</div>
<div class="clear"></div>
<script src="js/form.js" type="text/javascript"></script> 
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> 
<script type="text/javascript">
  function mappa() {
    var myLatlng = new google.maps.LatLng(42.03201, 13.42116);
    var myOptions = {
      zoom: 17,
      center: myLatlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    }
    var map = new google.maps.Map(document.getElementById("map"), myOptions);
    var image = '<?= TH_TEMPLATE_URL ?>marker.png';
    var myLatLng = new google.maps.LatLng(42.03201, 13.42116);
    var beachMarker = new google.maps.Marker({
      position: myLatLng,
      map: map,
      icon: image
    });
  }
  mappa();
</script>
<?php get_footer(); ?>
